net/http/internal/http2.serverConn.countError (method)

37 uses

	net/http/internal/http2 (current package)
		server.go#L1444: 			return sc.countError("first_settings", ConnectionError(ErrCodeProtocol))
		server.go#L1457: 				return sc.countError("data_flow", streamError(f.Header().StreamID, ErrCodeFlowControl))
		server.go#L1484: 		return sc.countError("push_promise", ConnectionError(ErrCodeProtocol))
		server.go#L1511: 		return sc.countError("ping_on_stream", ConnectionError(ErrCodeProtocol))
		server.go#L1527: 			return sc.countError("stream_idle", ConnectionError(ErrCodeProtocol))
		server.go#L1540: 				return sc.countError("bad_flow", ConnectionError(ErrCodeFlowControl))
		server.go#L1542: 			return sc.countError("bad_flow", streamError(f.StreamID, ErrCodeFlowControl))
		server.go#L1563: 		return sc.countError("reset_idle_stream", ConnectionError(ErrCodeProtocol))
		server.go#L1624: 			return sc.countError("ack_mystery", ConnectionError(ErrCodeProtocol))
		server.go#L1632: 		return sc.countError("settings_big_or_dups", ConnectionError(ErrCodeProtocol))
		server.go#L1697: 		return sc.countError("setting_win_size", ConnectionError(ErrCodeFlowControl))
		server.go#L1719: 		return sc.countError("data_on_idle", ConnectionError(ErrCodeProtocol))
		server.go#L1736: 			return sc.countError("data_flow", streamError(id, ErrCodeFlowControl))
		server.go#L1744: 		return sc.countError("closed", streamError(id, ErrCodeStreamClosed))
		server.go#L1753: 			return sc.countError("data_flow", streamError(id, ErrCodeFlowControl))
		server.go#L1761: 		return sc.countError("send_too_much", streamError(id, ErrCodeProtocol))
		server.go#L1766: 			return sc.countError("flow_on_data_length", streamError(id, ErrCodeFlowControl))
		server.go#L1874: 		return sc.countError("headers_even", ConnectionError(ErrCodeProtocol))
		server.go#L1891: 			return sc.countError("headers_half_closed", streamError(id, ErrCodeStreamClosed))
		server.go#L1902: 		return sc.countError("stream_went_down", ConnectionError(ErrCodeProtocol))
		server.go#L1919: 			return sc.countError("over_max_streams", streamError(id, ErrCodeProtocol))
		server.go#L1926: 		return sc.countError("over_max_streams_race", streamError(id, ErrCodeRefusedStream))
		server.go#L2012: 		return sc.countError("dup_trailers", ConnectionError(ErrCodeProtocol))
		server.go#L2016: 		return sc.countError("trailers_not_ended", streamError(st.id, ErrCodeProtocol))
		server.go#L2020: 		return sc.countError("trailers_pseudo", streamError(st.id, ErrCodeProtocol))
		server.go#L2023: 		return sc.countError("trailers_too_large", streamError(st.id, ErrCodeProtocol))
		server.go#L2032: 				return sc.countError("trailers_bogus", streamError(st.id, ErrCodeProtocol))
		server.go#L2047: 		return sc.countError("priority", streamError(streamID, ErrCodeProtocol))
		server.go#L2075: 		return sc.countError("unparsable_priority_update", streamError(f.PrioritizedStreamID, ErrCodeProtocol))
		server.go#L2129: 		return nil, nil, sc.countError("bad_connect", streamError(f.StreamID, ErrCodeProtocol))
		server.go#L2135: 			return nil, nil, sc.countError("bad_connect", streamError(f.StreamID, ErrCodeProtocol))
		server.go#L2148: 		return nil, nil, sc.countError("bad_path_method", streamError(f.StreamID, ErrCodeProtocol))
		server.go#L2175: 			return nil, nil, sc.countError("bodyless_content_length", streamError(f.StreamID, ErrCodeProtocol))
		server.go#L2180: 					return nil, nil, sc.countError("duplicate_content_length", streamError(f.StreamID, ErrCodeProtocol))
		server.go#L2202: 		return nil, nil, sc.countError(res.InvalidReason, streamError(st.id, ErrCodeProtocol))
		server.go#L2259: 		return sc.countError("too_many_early_resets", ConnectionError(ErrCodeEnhanceYourCalm))
		server.go#L3212: func (sc *serverConn) countError(name string, err error) error {